package com.vframework.system.org.model;

import java.util.List;

import com.vframework.base.model.Entity;

public class OrgBean extends Entity {
	/**
	 * 保存到session必须序列化
	 */
	private static final long serialVersionUID = 3238646679853741725L;

	private String orgId;//机构编号
	
	private String orgName;//机构名称
	
	private String orgType;//机构类型
	
	private String orgAddr = null;//机构地址
	
	private String porgId = null;//父级机构ID
	
	private String phone = null;//联系电话
	
	private String cityCodeCascade;//级联城市代码
	
	private String cityCode = null;//市级代码
	
	private String opdate = null;//操作时间
	
	private String oldOrgId = null;//机构原编号
	
	private String adminAccount = null;//机构管理员账号
	
	private String adminPassword = null;//机构管理员密码
	
	private String status = null; //状态
	
	private String level = null;
	
	private String rootPath = null;
	
	private String zipCode = null;
	
	private List<OrgBean> children;
	
	public String getOrgId() {
		return orgId;
	}
	
	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}
	
	public String getOrgName() {
		return orgName;
	}
	
	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}
	
	public String getOrgType() {
		return orgType;
	}
	
	public void setOrgType(String orgType) {
		this.orgType = orgType;
	}

	public String getOrgAddr() {
		return orgAddr;
	}
	
	public void setOrgAddr(String orgAddr) {
		this.orgAddr = orgAddr;
	}
	
	public String getPorgId() {
		return porgId;
	}
	
	public void setPorgId(String porgId) {
		this.porgId = porgId;
	}
	
	public String getPhone() {
		return phone;
	}
	
	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	public String getCityCodeCascade() {
		return cityCodeCascade;
	}
	
	public void setCityCodeCascade(String cityCodeCascade) {
		this.cityCodeCascade = cityCodeCascade;
	}
	
	public String getCityCode() {
		return cityCode;
	}
	
	public void setCityCode(String cityCode) {
		this.cityCode = cityCode;
	}
	
	public String getOpdate() {
		return opdate;
	}
	
	public void setOpdate(String opdate) {
		this.opdate = opdate;
	}
	
	public String getOldOrgId() {
		return oldOrgId;
	}
	
	public void setOldOrgId(String oldOrgId) {
		this.oldOrgId = oldOrgId;
	}
	
	public String getAdminAccount() {
		return adminAccount;
	}
	
	public void setAdminAccount(String adminAccount) {
		this.adminAccount = adminAccount;
	}
	
	public String getAdminPassword() {
		return adminPassword;
	}
	
	public void setAdminPassword(String adminPassword) {
		this.adminPassword = adminPassword;
	}
    
	public String getStatus() {
        return status;
    }
    
	public void setStatus(String status) {
        this.status = status;
    }
    
	public String getLevel() {
        return level;
    }
    
	public void setLevel(String level) {
        this.level = level;
    }
    
	public String getRootPath() {
        return rootPath;
    }

    public void setRootPath(String rootPath) {
        this.rootPath = rootPath;
    }

    public String getZipCode() {
        return zipCode;
    }
    
	public void setZipCode(String zipCode) {
        this.zipCode = zipCode;
    }

    public List<OrgBean> getChildren() {
        return children;
    }

    public void setChildren(List<OrgBean> children) {
        this.children = children;
    }
}